package com.cfswt.tasksystem.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
public class Material {
    private Integer id;
    private String code;
    private String name;
    private String brand;
    private String model;
    private String unit;
    private BigDecimal unitPriceIncludingTax;
    private BigDecimal totalPriceTax;
    private String taxRate;
    private BigDecimal unitPriceBeforeTax;
    private BigDecimal amountBeforeTax;
    private Integer number;
    private String project;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String createBy;
    private String shelfNumber;
    private String pic;
    private Integer positionId;
    private String categoryLargeSn;
    private String categoryLargeName;
    private String categoryMediumSn;
    private String categoryMediumName;
    private String categoryMiniSn;
    private String categoryMiniName;
    private String sn;
    private BigDecimal referencePrice;
    private String purchasePerson;//采购人
    private String acceptancePerson;//验收人
    private String custodian;//保管人
    private String reviewer;//审核人
    private String isQualified;
    private String unQualifiedDesc;
}